Add single-include guard
authorMichael Natterer <mitch@gimp.org>
Thu, 9 Jul 2009 14:30:52 +0000 (16:30 +0200)
committerMichael Natterer <mitch@gimp.org>
Thu, 9 Jul 2009 14:30:52 +0000 (16:30 +0200)
gtk/gtkinfobar.h

index cbc206a12076c9a44cfc6ccfeaa8fdf0d396b450..530ebfb9ceb1a3510678c79d236876f78f7deacc 100644 (file)
  * Modified by the GTK+ Team, 2008-2009.
  */
 
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only <gtk/gtk.h> can be included directly."
+#endif
+
 #ifndef __GTK_INFO_BAR_H__
 #define __GTK_INFO_BAR_H__